# -*- mode: snippet -*-
# name: __setitem__
# key: setit
# group: dunder methods
# --
def __setitem__(self, ${1:key}, ${2:val}):
    $0